<?php


	require('includes/connect.php');

	$height = $_POST['height'];

	$bodyType = $_POST['bodyType'];

	$eyeColor = $_POST['eyeColor'];

	$hairColor = $_POST['hairColor'];

	$skinColor = $_POST['skinColor'];

	$addInfo = $_POST['addInfo'];

	$user_id = $_POST['user_id'];

	$phyDetails = mysql_query("update physical_details set `height_id`='$height',`body_type_id`='$bodyType', `eye_color_id`='$eyeColor',`hair_color_id`='$hairColor',`skin_color_id` = '$skinColor',`Additional_info` ='$addInfo' where user_id=".$user_id);

	header('location:settings.php');

/*echo $height;
echo $bodyType;
echo $eyeColor;
echo $hairColor;
echo $skinColor;
echo $addInfo;
echo $user_id;*/
	

?>